package com.jiechuang.common.bean.addOrUpdate;

import lombok.Data;
import org.springframework.util.StringUtils;

@Data
public class RoleAddOrUpdate {
    private Integer id;
    private String roleName;
    private String roleCode;
    public String getRoleName() {
        return StringUtils.hasLength(roleName)?roleName:null;
    }
    public String getRoleCode() {
        return StringUtils.hasLength(roleCode)?roleCode:null;
    }
}
